home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 9
/
The PC-SIG Library on CD ROM - Ninth Edition.iso
/
001_100
/
DISK0096
/
DISK0096.ZIP
/
S-INTRO.ED
< prev
next >
Wrap
Text File
|
1983-11-27
|
28KB
|
637 lines
This information was downloaded from THE SOURCE in November, 1983,
for reference use by current subscribers, and for potential subscribers
to evaluate to see if they should subscribe. This was downloaded and
edited by Vince Heiker, 6027 Hageman Road, Mehlville, MO 63128;
314-822-2800 (home); 314-842-4361 (work); Email 70426,33; Smail
STG422; PLATO pca/vince e heiker/lime01.
While some or all of this information may not be copyrighted, you
should obtain permission from THE SOURCE before selling for a profit.
------------------------------------------------------------------------
THE SOURCE welcomes you to its worldwide network of electronic communication
and information services. With virtually any microcomputer, terminal or
communication word processor, plus a telephone and a modem, the vast array
of information and communication services offered by THE SOURCE becomes
available to you.
You can keep on top of unfolding news events, send mail electronically, check
airline schedules, arrange a trip, look in on the stock market and analyze
trends, chat electronically with others in the computer community, play
electronic games or even go shopping.
A subsidiary of Reader's Digest Association, Inc., THE SOURCE seeks to offer
you the highest quality information and services available. It is our goal
also to make all services easy to use, whether this involves retrieval of
information or creating your own computer programs.
THE SOURCE operates through computer telephone networks that link you to the
mainframe computing power and storage capacity of THE SOURCE's Prime Computers
located at company headquarters in Mclean, Va.
The brief instructions which follow will help acquaint you with methods for
accessing information and programs on THE SOURCE. Be sure to check your
User's Manual for more details.
LOCATING INFORMATION ON THE SOURCE
There are two methods available for accessing information and programs from
THE SOURCE. One method uses THE SOURCE Menu as a guide, and is recommended
for new users. The second method provides direct access to services via
commands entered from Command Level (->).
THE SOURCE MENU
You can access THE SOURCE Main Menu from the Entry Screen, which appears after
you sign on, or by entering MENU at Command Level. This Main Menu divides THE
SOURCE into broad categories, such as NEWS AND REFERENCE RESOURCES or BUSINESS/
FINANCIAL MARKETS. From here you can select a category of interest by entering
the corresponding number at the prompt: Enter Item Number or HELP". Continue
to select from successive menus until you retrieve the desired information or
program.
The following navigational commands, entered at a menu prompt, will enable you
to quickly maneuver through THE SOURCE Menu:
M Returns you to the first page of the Main Menu.
P Returns you to the first page of the previous Menu.
QUIT Always returns you to Command Level.
Once you are familiar with the number route to any SOURCE program, you can
string commands by sequentially listing the desired item numbers, after
typing Menu at the >. For example, for UPI Business News:
->MENU 2 Brings you to the BUSINESS/FINANCIAL MARKETS Menu.
->MENU 23 Brings you to the NEWS AND COMMENTARY Menu.
->MENU 231 Takes you directly into the UPI Business News service.
You can also string commands after entering THE SOURCE Menu. For example,
from the first page of THE SOURCE Menu:
121 Brings you directly to domestic flight schedules.
122 Brings you directly to international flight schedules.
You also can string using the M command. From anywhere in the Menu, M 61
will take you to The SOURCE electronic mail service.
COMMAND LEVEL ACCESS
There are over 800 separate programs and databases on THE SOURCE. You can
access any of these from Command Level by entering the program name, or a
System Command followed by the program name, at the ->.
Here are a few examples of programs accessed by entering their name at the >:
->STOCKVUE Retrieves Media General's Stock Analysis service.
->USNEWS Retrieves the weekly U.S. Washington News Letter.
->CSTORE Retrieves the Comp-U-Store shopping service.
Sometimes a System Command should precede the program name, for example:
HELP Followed by a name retrieves background information on
a database, service, or program. HELP *TREK retrieves
brief game instructions and a demonstration. NOTE: For a
complete list of HELP files, enter HELP LIST at the ->.
PLAY Must be entered before the name of a game to begin play.
PLAY STARTREK let's you play the game.
R Must be entered before all computational or educational
programs to run them. R SALES runs a sales commission
report.
There are two commands found in almost any program:
QUIT Entered at most prompts will take you to Command Level.
HELP Entered at a prompt will you instructions on that program.
--------------------------------------------------------------------------
SYSTEM COMMANDS
===============
These utilitarian and navigational commands are entered at Command Level;
to use the services on THE SOURCE, type HELP LIBALL at Command Level.
A *>sub-directory-name Attaches you to a sub-directory you've created.
AB filename -CR Create a file of abbreviated commands.
ALC Moves you up to your log-on User File Directory
from any sub-directory.
ASF Attaches you to your Shared-File area.
BASICV Program in BASIC language.
CHAT i.d. Real-time conversation with another member of THE
SOURCE.
CHAT -OFF Refuse CHAT calls.
CHAT -ON Accept CHAT calls.
CIPHER Encrypt a text file.
CO filename Execute a command file.
COMO filename Preserve screen display in a file.
COMO -E End a COMO session.
COPY filename-location Move files between directories and sub-directories.
CPW old-password Change your password.
CR sub-directory-name Create a sub-directory in your User File Directory.
CRTLIST filename Display a file, pausing every 24 lines.
CTRL-P Break from a program.
CTRL-S Stop scrolling screen display.
CTRL-Q Re-start scrolling screen display.
DA sub-directory-name Attach down to a sub-directory.
DATE Display time and date.
DEL filename Delete a file.
DELETE sub-directory-name Deletes an entire sub-directory.
ED or ED filename Use the Text Editor.
ENTER filename Type in a file.
F Displays your filenames and amount of record
storage they occupy, with date they were last
modified.
FILETRAN Upload a text file from your micro to your UFD
on THE SOURCE.
FTN source-filename Program in the Fortran language.
GETSHR Copy a Shared-File to your Shared-File area.
HELP program-name Information on how the program operates.
ID Followed by your account number and password,
signs you on to THE SOURCE.
INFOX The INFO-X Business Management program.
L Lists the titles of files in your User File
Directory.
LOAD program-name Loads a Fortran program.
MAIL Use the SourceMail system.
MAILCK Lists number of letters in your mailbox.
NAME Assign a personal name to your account.
ONLINE Lists the account numbers of members currently
using THE SOURCE.
OFF Disconnect from THE SOURCE.
PASCAL source-filename Program in the Pascal language.
PLAY game-name Play a particular game.
POST Use the bulletin-board system.
PUTSHR Move a file into your Shared File area.
QUIT Exit a program and return to Command Level.
R program-name Run a particular library program.
RCV Upload a text file from your micro to your UFD
on THE SOURCE.
RDY -RB new-prompt Change the Command Level symbol (->) on your
account.
RUN program-name Run a loaded Fortran program.
TIME Display time used during current session.
TY filename Display a text file.
TYPSHR Display a Shared File belonging to another member.
WHO Indicates ownership of account and location among
directories and sub-directories.
--------------------------------------------------------------------------
--- PROGRAMMING MANUALS AND REFERENCE GUIDES ---
MODEL LEVEL 1 MANUAL GIVES DETAILED INSTRUCTIONS USING ENGLISH
LIKE COMMANDS TO CREATE VARIOUS BUSINESS MODELING PROGRAMS.
MANUAL IS FREE! ORDERING INSTRUCTIONS AT THE END OF THIS FILE.
THE FOLLOWING SYSTEM DOCUMENTATION CAN BE ORDERED BY SUBSCRIBERS
WHO WISH TO EXPLORE THE DATA PROCESSING CAPABILITIES OF THE
PRIME COMPUTER:
MANUALS AND REFERENCE GUIDES PRICE
------------------------------------- -----
THE SOURCE USER'S MANUAL: The complete
guide to the operation of programs
and services $19.95
------
INFO X PRIMER: An Introductory Guide
to Business Data Base
Management on The
Source $ 9.95
------
INFO X MANUAL: A clear Guide to
Business Data Base
Management Report
Generating and Special
Forms $19.95
------
IF YOU PURCHASE BOTH MANUALS AS A
PACKAGE $26.95
------
NEW USER'S GUIDE TO EDITOR AND RUNOFF:
(Source Editing and
Text Formatting) $19.95
------
BASIC/VM PROGRAMMER'S GUIDE: suitable
for people who know
basic programming $19.95
------
FORTRAN PROGRAMMER'S GUIDE: for those
familiar with FORTRAN;
information on writing,
compiling, loading, and
executing $19.95
------
PASCAL PROGRAMMER'S MANUAL $19.95
------
TO ORDER MANUALS AND SOFTWARE, Contact the
Communications Marketing Department, Norma
Robinson at (800) 336-3366, or through
Electronic Mail by entering the following
information:
>MAIL TCA068 'ORDERING MANUALS'
TEXT:
1. Your Name
2. Your Mailing Address and Zipcode
(NO P.O. BOXES PLEASE)
3. Home and Office telephone Number
4. Credit Card Type/Number (Master Card
needs the Interbank Number)
5. Credit Card Expiration Date
6. Manuals Requested...
Corporations give purchase order number and
send the Purchase Order to Norma Robinson
c/o The Source.
For an Index to further Operating Instructions
available On-line, Type...........HELP ADAPPR
---------------------------------------------------------------------------
--- ADVANCED APPLICATIONS AND PROGRAMMING ---
THE SOURCE PROVIDES ITS SUBSCRIBERS WITH DATA PROCESSING CAPABILITIES.
TO FULLY EXPLOIT THE POTENTIAL OF THE PRIME COMPUTER, THE SOURCE HIGHLY
RECOMMENDS THAT YOU ORDER THE APPROPRIATE DOCUMENTATION LISTED UNDER
"HELP SYSDOC". YOU CAN ALSO BECOME ACQUAINTED WITH THE PRIME COMPUTER
BY LOOKING AT THE FOLLOWING INSTRUCTIONAL LIBRARIES.
======================================================================
REFERENCE MANUALS & PROGRAMMING GUIDES.............HELP SYSDOC
SYSTEM COMMANDS....................................HELP SYSCOM
PRIME EDITOR COMMANDS..............................HELP ED
PROGRAMMING IN BASIC...............................HELP BASICV
PROGRAMMING IN FORTRAN.............................HELP FTN
PROGRAMMING IN PASCAL..............................HELP PASCAL
INFOX (BUSINESS MANAGEMENT)........................HELP INFOX
INFOX COMMANDS AND ABBREVIATIONS...................HELP XCMDS
MODEL1 (FINANCIAL MODELING)........................HELP MODEL1
--------------------------------------------------------------------------
C ED.HELP, HELP*, Technical Publications, 11/11/81
C HELP file for ED
C Copyright (c) 1981, Prime Computer, Inc., Natick, MA 01760
ED A line-oriented text editor
ED [filename]
The ED command allows you to type in text, to save it in a file,
and to edit (make changes in) an existing file.
For a tutorial on using ED, see The New User's Guide to EDITOR
and RUNOFF.
Here are the most useful ED commands. Capitals show abbreviations.
Brackets [] show items which may be omitted.
Append text FILe [file] OOps Retype text
Bottom Find text POint n SAve file
Change/old/new/[G][n] Insert text PPrint [m] [n] Top
Delete [n] LOAd file Print [n] Where
Delete TO text Locate text QF
DUnload file [n] Next [n] Quit RETURN-KEY (alone)
The next screen shows all ED commands. Subsequent screens explain
all the commands briefly.
Here are all the ED commands. Capitals show allowed abbreviations.
Brackets [] show items which may be omitted. Explanations of all
these commands appear on the following several screens.
Append text LInesz n PSymbol
Bottom LOAd file PTabset tabs
BRief Locate text PUnch device
Change/old/new/[G][n] MODE argument QF
Delete [n] Modify/old/new/[G][n] Quit
Delete TO text MOVE to-buf from-buf Retype text
DUnload file [n] MOVE to-buf /text/ SAve filename
DUnload file TO text Next [n] Symbol name character
Erase character NFind text TAbset tabs
FILe [filename] NLocate text Top
Find text OOps Unload file [n]
Find(n) text OUTput device Unload file TO text
Gmodify Overlay text Verify
IB text PAuse Where
INPUT device POint n Xeq [buffer]
Insert text PPrint [m] [n] *[n]
Kill character Print [n] RETURN-KEY (alone)
Here are brief explanations, in alphabetical order, of all ED
commands. For more detailed information, see The New User's
Guide to EDITOR and RUNOFF.
RETURN-KEY (alone)
The return key ends a line of text or a command, but, when typed
alone (a blank line) switches ED between INPUT and EDIT modes.
Append text
Places "text" at the right end of the current line.
Bottom
Goes to BOTTOM (the place after the last line).
BRief
Opposite of VERIFY. Causes editor to not print results of most
commands.
Change/old/new/[G][n]
The "old" text is replaced by the "new" text. The "/" may be any
character not appearing in "old" or "new". The optional G causes
every "new" in the line to be changed. The optional number n makes
the change affect the next n lines (including the current line).
Delete
Deletes the next n lines, or one line if n omitted. Skips
backwards if n is negative.
Delete TO text
Deletes all lines starting with the current line and up to (but not
including) the first line which contains "text". WARNING: If "text"
is not found, ED will delete everything, all the way to BOTTOM.
Make sure your "text" really exists.
DUnload filename [n]
Moves n lines (starting with the current line) into file "filename".
If n is omitted, one line is moved. If "filename" already exists,
its contents are replaced with the moved lines. To DUnload is the
same as to Unload and then Delete a group of lines.
DUnload filename TO text
Moves into file "filename" all lines starting with the current line
and up to (but not including) the first line which contains "text".
WARNING: If "text" is not found, ED will move (and delete) everything
all the way to BOTTOM.
Erase character
Selects "character" to be the erase character for the current session
of ED. If your erase character is ", then ERASE # could be useful
for typing large quantities of material containing double-quotes.
FILe [filename]
ED writes out your entire workfile and exits to PRIMOS. If you're
editing an already-existing file, you needn't specify "filename".
Find text
Finds the first line below the current line which begins with "text"
and makes that line the current line. Goes to BOTTOM if not found.
The "text" argument must not contain commas or semicolons.
Find(n) text
Just like FIND, but it searches for "text" beginning at column "n".
The parentheses are required.
Gmodify
For complicated editing within a single line. Not explained here.
See Section 8 of The New User's Guide to EDITOR and RUNOFF for the
use of this command. The Gmodify subcommands are:
The Gmodify subcommands are:
Cc Copy to character "c".
Mn Copy n characters.
Dc Don't copy, up to character "c".
En Don't copy, for n characters.
Bn Backward (to left) don't copy, for n characters.
S Position to start (leftmost).
F Copy to end (rightmost).
I/text/ Insert "text".
A/text/ Equivalent to FI/text/.
R/text/ Replace with "text", character by character.
O/text/ Like R/text/, except space means copy original character.
N Reverse sense of "c" in the next C or D command.
IB text
"Insert before." Puts "text" on a new line before the current line.
INPUT device
Rarely used. Reads from specified device:
(ASR) Teletypewriter paper tape reader.
(PTR) High-speed paper tape reader (must be assigned).
(TTY) Terminal.
Insert text
Places "text" on a new line following the current line.
Kill character
Selects "character" to be the kill character for the current session
of ED. If your erase character is ?, then KILL @ could be useful
for typing large quantities of material containing question marks.
LInesz n
Sets maximum line length (that is, width across the screen).
This length, which is 1024 at start-up, may be set between
10 and 1024. Rarely used.
LOAd filename
The contents of "filename" are loaded into your editor workfile
immediately following the current line.
Locate text
Finds the first line below the current line which contains "text",
and makes it the current line.
MODE argument
The several MODE commands are shown below separately and briefly.
See The New User's Guide to Editor and Runoff for more information.
MODE CKPAR
MODE NCKPAR
MODE NCKPAR (the default) displays characters normally, regardless
of the parity bit. MODE CKPAR displays them as ^nnn if parity is 0.
{PRINT}
MODE COUnt [start] [increment] [width] {BLANK}
{SUPPRESS}
MODE NCOunt
MODE NCOUNT is the default, in which the counter (@) is not active.
In MODE COUNT, the counter is incremented and replaced by current
value when used in APPEND, INSERT, OVERLAY, RETYPE or GMODIFY.
start -- Initial value, >0, default = 1.
increment -- Not zero, default = 1.
width -- Digits in field width 1 <= width <= 10. Default = 5.
PRINT -- Print leading zeros (default).
SUPPRESS -- Do not print leading zeros.
BLANK -- Replace leading zeros with blanks.
MODE NUmber
MODE NNumber
MODE NNUMBER is the default, and does not print line numbers.
MODE NUMBER causes line numbers to be displayed.
MODE COLumn
MODE NColumn
MODE NCOLUMN is the default, and does not print a column header.
MODE COLUMN causes a header of column numbers to appear when you
enter INPUT mode.
MODE PROmpt
MODE NPrompt
MODE NPROMPT is the default, and does not display prompt characters.
MODE PROMPT displays & in INPUT mode and $ in EDIT mode.
MODE PRAll
MODE PRUpper
MODE PRLower
MODE PRALL is the default, and handles upper and lower case
characters normally. The other two modes are useful for upper-case-
only terminals. See The New User's Guide to Editor and Runoff.
MODE Semi
MODE NOSemi
MODE SEMI is the default, in which semicolon always becomes a
line separator, just like RETURN, even in INPUT mode.
MODE NOSEMI makes semicolon available as an ordinary character in
the INSERT, APPEND, and OVERLAY commands, and in INPUT mode. It
continues to work as a command separator in EDIT mode.
Modify/old/new/[G][n]
Works exactly like CHANGE, except that it does not affect the spacing
of the characters in the original line.
MOVE to-buf from-buf
MOVE to-buf /text/
The buffer names are EDLIN, INLIN, and STR.1 through STR.10. See
Section 8 of The New User's Guide to EDITOR and RUNOFF.
Next [n]
Skips ahead n lines, or one line if n omitted.
NFind text
This command is the exact opposit of FIND. It finds the first line
which does NOT begin with "text".
NLocate text
This command is the exact opposite of LOCATE. It finds the first
line which does NOT contain "text".
OOps
Undoes the last modification to a line. If you gave a single
erroneous command which changed several lines, OOPS can only help
you with the last line that was changed. A second OOPS won't cancel
a previous OOPS.
OUTput device
This command is not normally used. See The New User's Guide.
Overlay text
Superimposes "text" onto the current line. Spaces leave the original
character unchanged. ! forces a space, \ tabs to the next tab stop.
PAuse
Returns to PRIMOS for use of LISTF, DELETE or CNAME. START returns
to editor.
POint n
Positions to line number n as the current line.
PPrint [m] [n]
Without specifying m or n, PPRINT prints from five lines before to
five lines after the current line. Specifying m and n, PP -8 12
(for example) would print from 8 lines before to 12 lines after.
Print [n]
Prints the next n lines, or one line if you omit n.
PSymbol
Displays the current values of the symbols (such as your erase and
kill characters) which can be set by the ERASE, KILL, and SYMBOL
commands.
PTabset tabs
This rarely-used command tells ED to use your terminal's tab stops.
PUnch device
Punches n lines on device (ASR) or (PTP). Rarely used.
QF
Quits to PRIMOS without question, even if the workfile is modified.
Quit
Returns to PRIMOS without writing out the file. Questions you if
the file has been modified (and would thus be lost by quitting).
Retype text
Deletes the current line, replacing it with "text".
SAve [filename]
Writes out the workfile (just like the FILE command), but without
exiting to PRIMOS. It is usually good practice to SAVE frequently.
Symbol name character
Changes the character value of a special symbol. For example,
SYMBOL TAB + changes the tab symbol from \ to +. The symbols and
their initial values are:
The symbols and their initial values are:
Kill ? Delete current line
ERase " Delete previous character
Wild ! Match any character (FIND, LOCATE)
Blanks # Match-n-spaces (FIND, LOCATE)
Tab \ Spaces to next tab stop
EScape ^ Remove special meaning from next character
CPromp $ MODE PROMPT's EDIT prompt
DPromp & MODE PROMPT's INPUT prompt
COunte @ MODE COUNT's counter symbol
SEmico ; End-of-line separator
You cannot use any of these as special symbol characters:
Multiple characters, comma, space, asterisk (*), any special
symbol already in use except CPROMP or DPROMP.
You can check the current symbol values with the SYMBOL command.
TAbset tabs
Specifies tab setting for use with \, for example TAB 5 10 15 20.
Default tabs are at 6, 12, 30.
Top
Goes to TOP (the place before line 1).
Unload filename [n]
Copies n lines (starting with the current line) into file "filename".
If n is omitted, one line is copied. If "filename" already exists,
its contents are replaced with the copied lines.
Unload filename TO text
Copies into file "filename" all lines starting with the current line
and up to (but not including) the first line which contains "text".
If "text" is not found, ED will copy everything down to BOTTOM.
Verify
Opposite of BRIEF. Editor prints each line it has changed or found
for you.
Where
Tells you where you are (the current line number).
Xeq [buffer]
XEQ alone, with no buffer name, re-executes the previous command.
With a buffer name, this command is rarely used. See The New User's
Guide to EDITOR and RUNOFF.
*[n]
The asterisk causes the previous part of the command line to be
repeated n times, or until TOP or BOTTOM is reached. For example,
f Washington;c/, George/, George and Martha/;*8
finds (after the current line) eight lines beginning with Washington,
and changes ", George" (if on that line) into ", George and Martha".
June 1981